package com.sunny.ihealth.entity.eventbus;

import com.sunny.ihealth.entity.bmob.Post;

/**
 * 帖子更新的EventBus消息
 * Created by Sunny  An on 2016/6/3.
 */
public class PostUpdateEvent {
    private int position;
    private Post post;

    public PostUpdateEvent() {
    }

    public PostUpdateEvent(int position, Post post) {
        this.position = position;
        this.post = post;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }
}
